{include file="header.html"}
<script src="/js/ckeditor/ckeditor.js"></script>
<style>
td { height:32px;}
</style>
<div class="body">
	<div class="nav">
		<a href="?app=home&act=index">首页</a> > <a href="?app=setting&act=index">系统设置</a> > {if $row.id}编辑{else}增加{/if}管理员
	</div>
	<div class="addbtn">
			<a href="?app=setting&act=manager" class="addbtn">所有管理员</a> &nbsp; 
			<a href="?app=setting&act=manager_add" class="addbtn">增加管理员</a> &nbsp; 
			<a href="?app=setting&act=log" class="addbtn">日志管理</a> &nbsp; 		
	</div>


		<form class="checkform" action="?app=setting&act=manager_add" method="post">
		<input type="hidden" name="id" value="{$row.id}" />
		<table class="tap" width="100%" border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td class="gra" align="left" colspan="2"><strong>【{if $row.id}编辑{else}增加{/if}管理员】</strong></td>
				
			</tr>
			<tr>
				<td width="100" class="gra" align="center">登录账号：</td>
				<td><input type="text" name="name" value="{$row.name}" /></td>
			</tr>
			<tr>
				<td width="100" class="gra" align="center">真实姓名：</td>
				<td><input type="text" name="real_name" value="{$row.real_name}" /></td>
			</tr>				
			<tr>
				<td width="100" class="gra" align="center">登录密码：</td>
				<td><input type="password" name="password" /> 留空表示不修改密码</td>
			</tr>	
	
			<tr class="last">
				<td align="center">&nbsp;</td>
				<td><input type="submit" id="Submit" class="submitbtn" value="提 交" />
					{if $msg==1}<font color=red>修改成功</font>{/if}
				</td>
			</tr>
		</table>
		</form>
	</div>


{include file="footer.html"}